<?php

abstract class HTML_Fluent_XHTML_Element_Base_BASE extends HTML_Fluent_Element {

    /**
     * The name of this element
     *
     * @return string
     */
    public function getName() {
        return 'base';
    }

    protected $attributes = array(
        'href' => null,
        'id' => null,
    );


    /**
     * Set the value of the 'href' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_BASE
     */
    public function href($value) {
        return $this->setAttribute('href', $value);
    }

    /**
     * Set the value of the 'id' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_BASE
     */
    public function id($value) {
        return $this->setAttribute('id', $value);
    }

}
